export default (success: boolean | string, code: number, message: string, data?: any) => {
  return {
    'head': {
      'success': success
    },
    'code': code,
    'message': message,
    'data': data
  }
}